package tc.common.utility;

import java.awt.Graphics;
import java.awt.Point;

import tc.common.symbology.Symbol;

public class DynbuffSymbol extends DynbuffItem {
	Point    position;
	Symbol   symbol;
	int      dirX;
	int      dirY;
		
	public DynbuffSymbol(Point position, Symbol symbol, int dirX, int dirY) {
		this.position = position;
		this.symbol   = symbol;
		this.dirX     = dirX;
		this.dirY     = dirY;
	}
	
	public void draw(Graphics g) {
		symbol.displayRot( g, position.x, position.y, 12, 0, 
				           Symbol.DIM/12, Symbol.DIM/12, dirX, dirY);		
	}
}
